package com.mchsdk.open;

import com.mchsdk.paysdk.bean.MCPayModel;
import com.mchsdk.paysdk.callback.WFTWapPayCallback;
import com.mchsdk.paysdk.callback.WXCallback;

public class ApiCallback {

    public static WFTWapPayCallback mWFTWapPayCallback;

    public static IGPExitObsv getExitObsv() {
        return MCApiFactory.getMCApi().getExitObsv();
    }

    public static OrderInfo order() {
        return MCPayModel.Instance().order();
    }

    public static IGPUserObsv getLoginCallback() {
        return MCApiFactory.getMCApi().getLoginCallback();
    }


    /**
     * 威富通wap支付结果回调
     *
     * @param wftWapPayCallback
     */
    public static void setWFTWapPayCallback(WFTWapPayCallback wftWapPayCallback) {
        if (null != wftWapPayCallback) {
            mWFTWapPayCallback = wftWapPayCallback;
        }
    }
}
